Home > biomechZoo > Toolbox > Zoo Processing > addchannel_data.m

addchannel_data

PURPOSE ^

data = ADDCHANNEL_DATA(data,ch,ndata,section)

SYNOPSIS ^

function data = addchannel_data(data,ch,ndata,section)

DESCRIPTION ^

 data = ADDCHANNEL_DATA(data,ch,ndata,section)

 ARGUMENTS
  data     ...  Zoo data (struct)
  ch       ...  Name of new channel to add (string) 
  ndata    ...  vector of new data to be added to new channel
  section  ...  'Video' or 'Analog' section

 RETURNS
  data    ...   Zoo data with new channel appended 

 NOTES
 - unlike 'bmech_removechannel', there is no batch processing equivalent
   function to add channels since for a given channel, each file needs to contain
   specific data.

 See also bmech_removechannel, bmech_removeevent, bmech_addevent, removechannel_data

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005